package vmcs.machinery;

// Copyright 1997 ISS.
// The contents contained in this document may not be reproduced in any
// form or by any means, without the written permission of ISS, other
// than for the purpose for which it has been supplied.
//
// Author: Olivo Miotto
//

import java.awt.*;

public class Door {

    private boolean isClosed;

    public Door () {
        isClosed = true;
    }

    public void setState (boolean isClosed) {
        System.out.println("Door.setState: " + isClosed);
        this.isClosed = isClosed;
    }

    public boolean isDoorClosed(){
      return isClosed;
    }

}